#!/usr/bin/env python
# coding: utf-8
"""Generate random sentences from your dictionary to use as example sentences."""

import random
dictionary = eval(open('en-ak.links.py').read())

print 'Statements'

sentence = []
word_order = dictionary['statement']
for word_type in word_order:
  sentence.append(dictionary[word_type].keys()[random.randint(0, len(dictionary[word_type].keys())-1)])

print ' '.join(sentence)
